package com.ruoyi.hqfinance.service.impl;

import com.ruoyi.hqfinance.domain.HqTransferCentre;
import com.ruoyi.hqfinance.mapper.HqTransferCentreMapper;
import com.ruoyi.hqfinance.service.HqTransferCentreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HqTransferCentreServiceImpl implements HqTransferCentreService {
    @Autowired
    private HqTransferCentreMapper hqTransferCentreMapper;
    @Override
    public List<HqTransferCentre> selectAll() {
        return hqTransferCentreMapper.selectAll();
    }

    @Override
    public Boolean insert(HqTransferCentre hqTransferCentre) {
        return hqTransferCentreMapper.insert(hqTransferCentre);
    }

    @Override
    public Boolean update(HqTransferCentre hqTransferCentre) {
        return hqTransferCentreMapper.update(hqTransferCentre);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return hqTransferCentreMapper.deleteById(id);
    }
}
